Public Class FormCarnetImprimir
    Inherits FormCarnet
    Private Sub FormCarnetImprimir_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        ocultarControles()
        Me.PrintForm1.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.ClientAreaOnly)
        Me.Dispose()
    End Sub
    Sub ocultarControles()
        With Me
            .Label1.Visible = False
            .Label2.Visible = False
            .Button1.Visible = False
            .Button2.Visible = False
            .GroupBox1.Text = ""
            .BackColor = Color.White
        End With
    End Sub
End Class